/*
 * Created on 2006-11-30
 *
 */
package jacky.lanlan.song.extension.spring.beans;

import java.util.Map;

/**
 * <p>
 * 管理不能硬编码可配置信息(比如路径等)，以及一些应用程序相关的参数。
 * <p>
 * 用<code>Map</code>作为容器，key=参数标识，value=参数值，具体内容在 Spring XML 配置文件 中配置，需要改动的时候，只需修改对应参数的值即可。
 * 
 * @author Jacky.Song
 */
public class ConstantManager {

	private Map<String, String> presentationConstantMap = null;// 存放表示层相关的常量
	
	private Map<String, String> busiLogicConstantMap = null;// 存放业务逻辑层相关的常量
	
	private Map<String, String> persistenceConstantMap = null;// 存放持久层相关的常量

	public void setPresentationConstantMap(Map<String,String> constant) {
		this.presentationConstantMap = constant;
	}
	
	public void setBusiLogicConstantMap(Map<String, String> busiLogicConstant) {
		this.busiLogicConstantMap = busiLogicConstant;
	}

	public void setPersistenceConstantMap(Map<String, String> persistenceConstant) {
		this.persistenceConstantMap=persistenceConstant;
	}

	public Map<String, String> getBusiLogicConstantMap() {
		return busiLogicConstantMap;
	}

	public Map<String, String> getPresentationConstantMap() {
		return presentationConstantMap;
	}

	public Map<String, String> getPersistenceConstantMap() {
		return persistenceConstantMap;
	}

	
}
